package com.senlingspace.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.senlingspace.common.annotation.Excel;
import com.senlingspace.common.core.domain.BaseEntity;

/**
 * 设备信息列对象 slkj_equipment_info
 *
 * @author wangliang
 * @date 2024-12-06
 */
public class SlkjEquipmentInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String equipmentNo;

    /** 设备sn码 */
    @Excel(name = "设备sn码")
    private String equipmentSn;

    /** 设备型号 */
    @Excel(name = "设备型号")
    private String equipmentModel;

    /** 地点类型（1=门店,2=其他） */
    @Excel(name = "地点类型", readConverterExp = "1==门店,2=其他")
    private Long locationType;

    /** 门店ID */
    @Excel(name = "门店ID")
    private Long shopId;

    /** 门店名称或其他名称 */
    @Excel(name = "门店名称或其他名称")
    private String shopName;


    /** 其他名称 */
    @Excel(name = "其他名称")
    private String locationName;

    /** 删除表示（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEquipmentNo(String equipmentNo)
    {
        this.equipmentNo = equipmentNo;
    }

    public String getEquipmentNo()
    {
        return equipmentNo;
    }
    public void setEquipmentSn(String equipmentSn)
    {
        this.equipmentSn = equipmentSn;
    }

    public String getEquipmentSn()
    {
        return equipmentSn;
    }
    public void setEquipmentModel(String equipmentModel)
    {
        this.equipmentModel = equipmentModel;
    }

    public String getEquipmentModel()
    {
        return equipmentModel;
    }
    public void setLocationType(Long locationType)
    {
        this.locationType = locationType;
    }

    public Long getLocationType()
    {
        return locationType;
    }
    public void setShopId(Long shopId)
    {
        this.shopId = shopId;
    }

    public Long getShopId()
    {
        return shopId;
    }
    public void setShopName(String shopName)
    {
        this.shopName = shopName;
    }

    public String getShopName()
    {
        return shopName;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public String getLocationName() {
        return locationName;
    }

    public SlkjEquipmentInfo setLocationName(String locationName) {
        this.locationName = locationName;
        return this;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("equipmentNo", getEquipmentNo())
                .append("equipmentSn", getEquipmentSn())
                .append("equipmentModel", getEquipmentModel())
                .append("locationType", getLocationType())
                .append("shopId", getShopId())
                .append("shopName", getShopName())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("locationName", getLocationName())
                .toString();
    }
}
